(detect_coding_iso2022): New arg
authorKenichi Handa <handa@m17n.org>
Sat, 19 Jan 2008 05:55:36 +0000 (05:55 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 19 Jan 2008 05:55:36 +0000 (05:55 +0000)
commit2ce8ad400843009f425a0746cdf76542742ef1c1
treeff2db83f7f0abed1af7698bcd4b9af2308f515d3
parent0ed34688b693a3817454a4be19b1960c594cf136
(detect_coding_iso2022): New arg
latin_extra_code_state.  Allow Latin extra codes only
when *latin_extra_code_state is nonzero.
(detect_coding_mask): If there is a NULL byte, detect the encoding
as UTF-16 or binary.  If Latin extra codes exist, detect the
encoding as ISO-2022 only when there's no other proper encoding is
found.
src/coding.c